﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace Wuther.Infrastructure.Blogs
{
    /// <summary>
    /// 博客
    /// </summary>
    [Comment("博客")]
    public class Blog : FullAuditedAggregateRoot<Guid>
    {
        public string Title { get; set; }
        public string Abstract { get; set; }
        public string UserAccount { get; set; }
        public string UserName { get; set; }
        public int MenuId { get; set; }
        //public int? Like { get; set; }
        //public int? Comment { get; set; }
        //public int? Trend { get; set; }
        public DateTime CreateTime { get; set; }
        public DateTime? ModifyTime { get; set; }
        public string Path { get; set; }
        public int? IsPublic { get; set; }
        public string Flag { get; set; }
        public byte[] ContentBuffer { get; set; }
    }
}
